package org.cuatrovientos.ListaCompraCasosUso;

public class Products {

	
	private String name;
	private Integer quantity;
	
	/**
	 * Constructor with the 2 parameters
	 * 
	 * @param name
	 * @param quantity
	 */
	
	public Products(String name, Integer quantity) {
		super();
		this.name = name;
		this.quantity = quantity;
	}

	
	/**
	 * get name
	 * @return
	 */
	
	public String getName() {
		return name;
	}

/**
 * set name
 * @param name
 */


	public void setName(String name) {
		this.name = name;
	}


/**
 * get quantity
 * @return
 */

	public Integer getQuantity() {
		return quantity;
	}


/**
 * Set quantity
 * @param quantity
 */

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}




	/**
	 * returns a string of products
	 */
	@Override
	public String toString() {
		return "Products [name=" + name + ", quantity=" + quantity + "]";
	}
	
	
	
	
}
